package com.example.demo.dao;

import com.example.demo.domain.entity.StateMachineContextEntity;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface StateMachineContextRepository extends PagingAndSortingRepository<StateMachineContextEntity, Long> {
    StateMachineContextEntity findTopByOrderId(String orderId);
}
